import { SetMetadata } from "@nestjs/common";
import { tokenKey } from "../../utils";
export const IS_PUBLIC_KEY = 'isPublic';
export const Public = () => SetMetadata(IS_PUBLIC_KEY, true);

export const jwtConstants = {
    secret: tokenKey,
}